package com.changan.stumgr.service;

import com.changan.stumgr.pojo.Student;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {

    /*Ctrl+X*/
    PageInfo<Student> selAllStudent(Integer pagaNum, Integer pageSize,String searchName);

    int addStudent(Student student);

    int delStudent(Integer id);

    int updateStudent(Student student);

    Student findStudentById(Integer id);

    Student findByIdStudent(Integer id);
}
